package com.ruoyi.project.mahjong.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 计费对象 t_cost
 *
 * @author ruoyi
 * @date 2023-10-09
 */
@ApiModel("计费实体类字段描述")
@Data
public class TCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** bak3 */
    @Excel(name = "bak3")
    private String bak3;

    /** bak2 店铺id */
    @Excel(name = "bak2")
    @ApiModelProperty("店铺id")
    private String bak2;

    /** 房间id */
    @Excel(name = "bak1")
    @ApiModelProperty("房间id")
    private String bak1;
    @ApiModelProperty("桌子名称")
    private String tableName;

    /** 状态 ：1可用   2 不可用 */
    @Excel(name = "状态 ：1可用   2 不可用")
    @ApiModelProperty("状态 ：1可用   2 不可用")
    private String status;

    /** 即将超时提醒时间 单位：分钟 */
    @Excel(name = "即将超时提醒时间 单位：分钟")
    @ApiModelProperty("即将超时提醒时间 单位：分钟")
    private String outRemind;

    /** 开台后取消此时间内不计费 */
    @Excel(name = "开台后取消此时间内不计费")
    @ApiModelProperty("开台后取消此时间内不计费")
    private String startMinute;

    /** 开台后计费时间 */
    @Excel(name = "开台后计费时间")

    private String startCostTime;

    /** 超时转下场计费状态 1 开启 2关闭 */
    @Excel(name = "超时转下场计费状态 1 开启 2关闭")

    private String outTimeStatus;

    private Long costId;

    /** 超时一定时间后开始下场计费  单位：分钟 */
    @Excel(name = "超时一定时间后开始下场计费  单位：分钟")
    private String outTimeStart;

    /** 超时后每小时收费金额 */
    @Excel(name = "超时后每小时收费金额")
    private Double outMoney;

    /** 超出时间计费  单位：分钟 */
    @Excel(name = "超出时间计费  单位：分钟")

    private String outTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    @ApiModelProperty("结束时间")
    private String endTime;

    /** 开始时间 */
    @Excel(name = "开始时间")
    @ApiModelProperty("开始时间")
    private String startTime;

    /** 计费单位：1按小时计费 2按包场计费 3按包时段计费 4按分时段包段计费 */
    @Excel(name = "计费单位：0按分钟计费 1按小时计费 2按包场计费 3按包时段计费 4按分时段包段计费")
    @ApiModelProperty("计费单位：0按分钟计费 1按小时计费 2按包场计费 3按包时段计费 4按分时段包段计费")
    private String costUnit;

    /** 计费金额 */
    @Excel(name = "计费金额")
    @ApiModelProperty("计费金额")
    private Double money;

    /** 计费名称 */
    @Excel(name = "计费名称")
    @ApiModelProperty("计费名称")
    private String costName;

    /** id */
    private Long id;

    public void setBak3(String bak3)
    {
        this.bak3 = bak3;
    }

    public String getBak3()
    {
        return bak3;
    }
    public void setBak2(String bak2)
    {
        this.bak2 = bak2;
    }

    public String getBak2()
    {
        return bak2;
    }
    public void setBak1(String bak1)
    {
        this.bak1 = bak1;
    }

    public String getBak1()
    {
        return bak1;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setOutRemind(String outRemind)
    {
        this.outRemind = outRemind;
    }

    public String getOutRemind()
    {
        return outRemind;
    }
    public void setStartMinute(String startMinute)
    {
        this.startMinute = startMinute;
    }

    public String getStartMinute()
    {
        return startMinute;
    }
    public void setStartCostTime(String startCostTime)
    {
        this.startCostTime = startCostTime;
    }

    public String getStartCostTime()
    {
        return startCostTime;
    }
    public void setOutTimeStatus(String outTimeStatus)
    {
        this.outTimeStatus = outTimeStatus;
    }

    public String getOutTimeStatus()
    {
        return outTimeStatus;
    }
    public void setOutTimeStart(String outTimeStart)
    {
        this.outTimeStart = outTimeStart;
    }

    public String getOutTimeStart()
    {
        return outTimeStart;
    }
    public void setOutMoney(Double outMoney)
    {
        this.outMoney = outMoney;
    }

    public Double getOutMoney()
    {
        return outMoney;
    }
    public void setOutTime(String outTime)
    {
        this.outTime = outTime;
    }

    public String getOutTime()
    {
        return outTime;
    }
    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public String getEndTime()
    {
        return endTime;
    }
    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getStartTime()
    {
        return startTime;
    }
    public void setCostUnit(String costUnit)
    {
        this.costUnit = costUnit;
    }

    public String getCostUnit()
    {
        return costUnit;
    }
    public void setMoney(Double money)
    {
        this.money = money;
    }

    public Double getMoney()
    {
        return money;
    }
    public void setCostName(String costName)
    {
        this.costName = costName;
    }

    public String getCostName()
    {
        return costName;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("bak3", getBak3())
            .append("bak2", getBak2())
            .append("bak1", getBak1())
            .append("status", getStatus())
            .append("outRemind", getOutRemind())
            .append("startMinute", getStartMinute())
            .append("startCostTime", getStartCostTime())
            .append("outTimeStatus", getOutTimeStatus())
            .append("outTimeStart", getOutTimeStart())
            .append("outMoney", getOutMoney())
            .append("outTime", getOutTime())
            .append("endTime", getEndTime())
            .append("startTime", getStartTime())
            .append("costUnit", getCostUnit())
            .append("money", getMoney())
            .append("costName", getCostName())
            .append("id", getId())
            .toString();
    }
}
